.class public Lcom/teewoo/app/bus/util/VersionUtil;
.super Ljava/lang/Object;
.source "VersionUtil.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/teewoo/app/bus/util/VersionUtil$UPDATE_ACTION;,
        Lcom/teewoo/app/bus/util/VersionUtil$VersionInfo;
    }
.end annotation


# static fields
.field public static FORCE:Ljava/lang/String;

.field public static MAJOR:Ljava/lang/String;

.field public static MINOR:Ljava/lang/String;

.field public static NONE:Ljava/lang/String;

.field public static PARAM_CITY:Ljava/lang/String;

.field public static PARAM_MODEL:Ljava/lang/String;

.field public static PARAM_PLATFORM:Ljava/lang/String;

.field public static PARAM_VERSION:Ljava/lang/String;

.field public static VER_MAJOR_INDEX:I

.field public static VER_MINOR_INDEX:I

.field public static VER_POINT_INDEX:I

.field public static versionAPIUri:Ljava/lang/String;


# instance fields
.field private context:Landroid/content/Context;

.field private vi:Lcom/teewoo/app/bus/util/VersionUtil$VersionInfo;


# direct methods
.method static constructor <clinit>()V
    .locals 1

    .prologue
    .line 14
    const-string v0, "http://doudou360.com:8083/checkversion.ashx?"

    sput-object v0, Lcom/teewoo/app/bus/util/VersionUtil;->versionAPIUri:Ljava/lang/String;

    .line 17
    const-string v0, "force"

    sput-object v0, Lcom/teewoo/app/bus/util/VersionUtil;->FORCE:Ljava/lang/String;

    .line 18
    const-string v0, "major"

    sput-object v0, Lcom/teewoo/app/bus/util/VersionUtil;->MAJOR:Ljava/lang/String;

    .line 19
    const-string v0, "minor"

    sput-object v0, Lcom/teewoo/app/bus/util/VersionUtil;->MINOR:Ljava/lang/String;

    .line 20
    const-string v0, "none"

    sput-object v0, Lcom/teewoo/app/bus/util/VersionUtil;->NONE:Ljava/lang/String;

    .line 21
    const-string v0, "platform"

    sput-object v0, Lcom/teewoo/app/bus/util/VersionUtil;->PARAM_PLATFORM:Ljava/lang/String;

    .line 22
    const-string v0, "city"

    sput-object v0, Lcom/teewoo/app/bus/util/VersionUtil;->PARAM_CITY:Ljava/lang/String;

    .line 23
    const-string v0, "model"

    sput-object v0, Lcom/teewoo/app/bus/util/VersionUtil;->PARAM_MODEL:Ljava/lang/String;

    .line 24
    const-string v0, "ver"

    sput-object v0, Lcom/teewoo/app/bus/util/VersionUtil;->PARAM_VERSION:Ljava/lang/String;

    .line 25
    const/4 v0, 0x0

    sput v0, Lcom/teewoo/app/bus/util/VersionUtil;->VER_MAJOR_INDEX:I

    .line 26
    const/4 v0, 0x1

    sput v0, Lcom/teewoo/app/bus/util/VersionUtil;->VER_MINOR_INDEX:I

    .line 27
    const/4 v0, 0x2

    sput v0, Lcom/teewoo/app/bus/util/VersionUtil;->VER_POINT_INDEX:I

    .line 11
    return-void
.end method

.method public constructor <init>(Landroid/content/Context;)V
    .locals 1
    .parameter "context"

    .prologue
    .line 55
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 53
    const/4 v0, 0x0

    iput-object v0, p0, Lcom/teewoo/app/bus/util/VersionUtil;->vi:Lcom/teewoo/app/bus/util/VersionUtil$VersionInfo;

    .line 56
    iput-object p1, p0, Lcom/teewoo/app/bus/util/VersionUtil;->context:Landroid/content/Context;

    .line 57
    return-void
.end method

.method private determineAction(Ljava/lang/String;Ljava/lang/String;Lcom/teewoo/app/bus/util/VersionUtil$UPDATE_ACTION;)Lcom/teewoo/app/bus/util/VersionUtil$UPDATE_ACTION;
    .locals 10
    .parameter "oldVerStr"
    .parameter "newVerStr"
    .parameter "serverAction"

    .prologue
    .line 99
    sget-object v0, Lcom/teewoo/app/bus/util/VersionUtil$UPDATE_ACTION;->NONE:Lcom/teewoo/app/bus/util/VersionUtil$UPDATE_ACTION;

    .line 100
    .local v0, action:Lcom/teewoo/app/bus/util/VersionUtil$UPDATE_ACTION;
    if-eqz p2, :cond_0

    if-eqz p1, :cond_0

    .line 101
    const-string v9, "\\."

    invoke-virtual {p2, v9}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v4

    .line 102
    .local v4, newVerNum:[Ljava/lang/String;
    if-eqz v4, :cond_0

    array-length v9, v4

    if-lez v9, :cond_0

    .line 103
    invoke-virtual {p1, p2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v9

    if-nez v9, :cond_0

    .line 104
    sget-object v9, Lcom/teewoo/app/bus/util/VersionUtil$UPDATE_ACTION;->FORCE:Lcom/teewoo/app/bus/util/VersionUtil$UPDATE_ACTION;

    if-ne v9, p3, :cond_1

    .line 105
    sget-object v0, Lcom/teewoo/app/bus/util/VersionUtil$UPDATE_ACTION;->FORCE:Lcom/teewoo/app/bus/util/VersionUtil$UPDATE_ACTION;

    .line 135
    .end local v4           #newVerNum:[Ljava/lang/String;
    :cond_0
    :goto_0
    return-object v0

    .line 107
    .restart local v4       #newVerNum:[Ljava/lang/String;
    :cond_1
    const-string v9, "\\."

    invoke-virtual {p1, v9}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v8

    .line 109
    .local v8, oldVerNum:[Ljava/lang/String;
    sget v9, Lcom/teewoo/app/bus/util/VersionUtil;->VER_MAJOR_INDEX:I

    aget-object v9, v4, v9

    invoke-static {v9}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v1

    .line 110
    .local v1, newMajorNum:I
    sget v9, Lcom/teewoo/app/bus/util/VersionUtil;->VER_MAJOR_INDEX:I

    aget-object v9, v8, v9

    invoke-static {v9}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v5

    .line 111
    .local v5, oldMajorNum:I
    if-le v1, v5, :cond_2

    .line 112
    sget-object v0, Lcom/teewoo/app/bus/util/VersionUtil$UPDATE_ACTION;->FORCE:Lcom/teewoo/app/bus/util/VersionUtil$UPDATE_ACTION;

    goto :goto_0

    .line 113
    :cond_2
    if-ne v1, v5, :cond_0

    .line 115
    sget v9, Lcom/teewoo/app/bus/util/VersionUtil;->VER_MINOR_INDEX:I

    aget-object v9, v4, v9

    invoke-static {v9}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v2

    .line 116
    .local v2, newMinorNum:I
    sget v9, Lcom/teewoo/app/bus/util/VersionUtil;->VER_MINOR_INDEX:I

    aget-object v9, v8, v9

    invoke-static {v9}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v6

    .line 117
    .local v6, oldMinorNum:I
    if-le v2, v6, :cond_3

    .line 118
    sget-object v0, Lcom/teewoo/app/bus/util/VersionUtil$UPDATE_ACTION;->MAJOR:Lcom/teewoo/app/bus/util/VersionUtil$UPDATE_ACTION;

    goto :goto_0

    .line 119
    :cond_3
    if-ne v2, v6, :cond_0

    .line 121
    sget v9, Lcom/teewoo/app/bus/util/VersionUtil;->VER_POINT_INDEX:I

    aget-object v9, v4, v9

    invoke-static {v9}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v3

    .line 122
    .local v3, newPointNum:I
    sget v9, Lcom/teewoo/app/bus/util/VersionUtil;->VER_POINT_INDEX:I

    aget-object v9, v8, v9

    invoke-static {v9}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v7

    .line 123
    .local v7, oldPointNum:I
    if-le v3, v7, :cond_4

    .line 124
    sget-object v0, Lcom/teewoo/app/bus/util/VersionUtil$UPDATE_ACTION;->MINOR:Lcom/teewoo/app/bus/util/VersionUtil$UPDATE_ACTION;

    goto :goto_0

    .line 126
    :cond_4
    sget-object v0, Lcom/teewoo/app/bus/util/VersionUtil$UPDATE_ACTION;->NONE:Lcom/teewoo/app/bus/util/VersionUtil$UPDATE_ACTION;

    goto :goto_0
.end method

.method private getSystemVersion()Ljava/lang/String;
    .locals 6

    .prologue
    .line 190
    const/4 v2, 0x0

    .line 191
    .local v2, version:Ljava/lang/String;
    iget-object v3, p0, Lcom/teewoo/app/bus/util/VersionUtil;->context:Landroid/content/Context;

    invoke-virtual {v3}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;

    move-result-object v3

    .line 192
    const/4 v4, 0x0

    invoke-virtual {v3, v4}, Landroid/content/pm/PackageManager;->getInstalledPackages(I)Ljava/util/List;

    move-result-object v1

    .line 193
    .local v1, packages:Ljava/util/List;,"Ljava/util/List<Landroid/content/pm/PackageInfo;>;"
    invoke-interface {v1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v3

    :cond_0
    :goto_0
    invoke-interface {v3}, Ljava/util/Iterator;->hasNext()Z

    move-result v4

    if-nez v4, :cond_1

    .line 198
    return-object v2

    .line 193
    :cond_1
    invoke-interface {v3}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/content/pm/PackageInfo;

    .line 194
    .local v0, packageInfo:Landroid/content/pm/PackageInfo;
    iget-object v4, v0, Landroid/content/pm/PackageInfo;->packageName:Ljava/lang/String;

    const-string v5, "com.teewoo.app.bus"

    invoke-virtual {v4, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_0

    .line 195
    iget-object v2, v0, Landroid/content/pm/PackageInfo;->versionName:Ljava/lang/String;

    goto :goto_0
.end method


# virtual methods
.method public checkVersion()V
    .locals 6

    .prologue
    .line 66
    new-instance v1, Ljava/lang/StringBuffer;

    invoke-direct {v1}, Ljava/lang/StringBuffer;-><init>()V

    .line 67
    .local v1, uri:Ljava/lang/StringBuffer;
    sget-object v2, Lcom/teewoo/app/bus/util/VersionUtil;->versionAPIUri:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    move-result-object v2

    sget-object v3, Lcom/teewoo/app/bus/util/VersionUtil;->PARAM_PLATFORM:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    move-result-object v2

    const-string v3, "="

    invoke-virtual {v2, v3}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    move-result-object v2

    iget-object v3, p0, Lcom/teewoo/app/bus/util/VersionUtil;->context:Landroid/content/Context;

    invoke-virtual {v3}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v3

    const v4, 0x7f080005

    invoke-virtual {v3, v4}, Landroid/content/res/Resources;->getText(I)Ljava/lang/CharSequence;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuffer;->append(Ljava/lang/CharSequence;)Ljava/lang/StringBuffer;

    move-result-object v2

    .line 70
    const-string v3, "&"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    move-result-object v2

    sget-object v3, Lcom/teewoo/app/bus/util/VersionUtil;->PARAM_VERSION:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    move-result-object v2

    const-string v3, "="

    invoke-virtual {v2, v3}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    move-result-object v2

    invoke-direct {p0}, Lcom/teewoo/app/bus/util/VersionUtil;->getSystemVersion()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    move-result-object v2

    .line 71
    const-string v3, "&"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    move-result-object v2

    sget-object v3, Lcom/teewoo/app/bus/util/VersionUtil;->PARAM_CITY:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    move-result-object v2

    const-string v3, "="

    invoke-virtual {v2, v3}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    move-result-object v2

    iget-object v3, p0, Lcom/teewoo/app/bus/util/VersionUtil;->context:Landroid/content/Context;

    invoke-virtual {v3}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v3

    const v4, 0x7f080009

    invoke-virtual {v3, v4}, Landroid/content/res/Resources;->getText(I)Ljava/lang/CharSequence;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuffer;->append(Ljava/lang/CharSequence;)Ljava/lang/StringBuffer;

    .line 74
    :try_start_0
    invoke-virtual {v1}, Ljava/lang/StringBuffer;->toString()Ljava/lang/String;

    move-result-object v2

    const-string v3, "utf-8"

    invoke-static {v2, v3}, Lcom/teewoo/app/bus/util/WebUtils;->getWebContent(Ljava/lang/String;Ljava/lang/String;)Ljava/io/InputStream;

    move-result-object v0

    .line 75
    .local v0, inputStream:Ljava/io/InputStream;
    if-eqz v0, :cond_0

    .line 76
    const-string v2, "utf-8"

    invoke-static {v0, v2}, Lcom/teewoo/app/bus/util/PullXmlReader;->getVersionInfo(Ljava/io/InputStream;Ljava/lang/String;)Lcom/teewoo/app/bus/util/VersionUtil$VersionInfo;

    move-result-object v2

    iput-object v2, p0, Lcom/teewoo/app/bus/util/VersionUtil;->vi:Lcom/teewoo/app/bus/util/VersionUtil$VersionInfo;

    .line 77
    iget-object v2, p0, Lcom/teewoo/app/bus/util/VersionUtil;->vi:Lcom/teewoo/app/bus/util/VersionUtil$VersionInfo;

    if-eqz v2, :cond_0

    .line 78
    iget-object v2, p0, Lcom/teewoo/app/bus/util/VersionUtil;->vi:Lcom/teewoo/app/bus/util/VersionUtil$VersionInfo;

    invoke-direct {p0}, Lcom/teewoo/app/bus/util/VersionUtil;->getSystemVersion()Ljava/lang/String;

    move-result-object v3

    iget-object v4, p0, Lcom/teewoo/app/bus/util/VersionUtil;->vi:Lcom/teewoo/app/bus/util/VersionUtil$VersionInfo;

    iget-object v4, v4, Lcom/teewoo/app/bus/util/VersionUtil$VersionInfo;->ver:Ljava/lang/String;

    iget-object v5, p0, Lcom/teewoo/app/bus/util/VersionUtil;->vi:Lcom/teewoo/app/bus/util/VersionUtil$VersionInfo;

    iget-object v5, v5, Lcom/teewoo/app/bus/util/VersionUtil$VersionInfo;->action:Lcom/teewoo/app/bus/util/VersionUtil$UPDATE_ACTION;

    invoke-direct {p0, v3, v4, v5}, Lcom/teewoo/app/bus/util/VersionUtil;->determineAction(Ljava/lang/String;Ljava/lang/String;Lcom/teewoo/app/bus/util/VersionUtil$UPDATE_ACTION;)Lcom/teewoo/app/bus/util/VersionUtil$UPDATE_ACTION;

    move-result-object v3

    iput-object v3, v2, Lcom/teewoo/app/bus/util/VersionUtil$VersionInfo;->action:Lcom/teewoo/app/bus/util/VersionUtil$UPDATE_ACTION;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 86
    .end local v0           #inputStream:Ljava/io/InputStream;
    :cond_0
    :goto_0
    return-void

    .line 83
    :catch_0
    move-exception v2

    goto :goto_0
.end method

.method public getDescription()Ljava/lang/String;
    .locals 1

    .prologue
    .line 146
    iget-object v0, p0, Lcom/teewoo/app/bus/util/VersionUtil;->vi:Lcom/teewoo/app/bus/util/VersionUtil$VersionInfo;

    if-eqz v0, :cond_0

    .line 147
    iget-object v0, p0, Lcom/teewoo/app/bus/util/VersionUtil;->vi:Lcom/teewoo/app/bus/util/VersionUtil$VersionInfo;

    iget-object v0, v0, Lcom/teewoo/app/bus/util/VersionUtil$VersionInfo;->description:Ljava/lang/String;

    .line 149
    :goto_0
    return-object v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public getUrl()Ljava/lang/String;
    .locals 1

    .prologue
    .line 153
    iget-object v0, p0, Lcom/teewoo/app/bus/util/VersionUtil;->vi:Lcom/teewoo/app/bus/util/VersionUtil$VersionInfo;

    if-eqz v0, :cond_0

    .line 154
    iget-object v0, p0, Lcom/teewoo/app/bus/util/VersionUtil;->vi:Lcom/teewoo/app/bus/util/VersionUtil$VersionInfo;

    iget-object v0, v0, Lcom/teewoo/app/bus/util/VersionUtil$VersionInfo;->downloadUri:Ljava/lang/String;

    .line 156
    :goto_0
    return-object v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public getVer()Ljava/lang/String;
    .locals 1

    .prologue
    .line 160
    iget-object v0, p0, Lcom/teewoo/app/bus/util/VersionUtil;->vi:Lcom/teewoo/app/bus/util/VersionUtil$VersionInfo;

    if-eqz v0, :cond_0

    .line 161
    iget-object v0, p0, Lcom/teewoo/app/bus/util/VersionUtil;->vi:Lcom/teewoo/app/bus/util/VersionUtil$VersionInfo;

    iget-object v0, v0, Lcom/teewoo/app/bus/util/VersionUtil$VersionInfo;->ver:Ljava/lang/String;

    .line 163
    :goto_0
    return-object v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public hasNewerVersion()Z
    .locals 3

    .prologue
    const/4 v2, 0x0

    .line 139
    iget-object v0, p0, Lcom/teewoo/app/bus/util/VersionUtil;->vi:Lcom/teewoo/app/bus/util/VersionUtil$VersionInfo;

    if-eqz v0, :cond_1

    .line 140
    iget-object v0, p0, Lcom/teewoo/app/bus/util/VersionUtil;->vi:Lcom/teewoo/app/bus/util/VersionUtil$VersionInfo;

    iget-object v0, v0, Lcom/teewoo/app/bus/util/VersionUtil$VersionInfo;->action:Lcom/teewoo/app/bus/util/VersionUtil$UPDATE_ACTION;

    sget-object v1, Lcom/teewoo/app/bus/util/VersionUtil$UPDATE_ACTION;->NONE:Lcom/teewoo/app/bus/util/VersionUtil$UPDATE_ACTION;

    if-eq v0, v1, :cond_0

    const/4 v0, 0x1

    .line 142
    :goto_0
    return v0

    :cond_0
    move v0, v2

    .line 140
    goto :goto_0

    :cond_1
    move v0, v2

    .line 142
    goto :goto_0
.end method

.method public isForceUpgrade()Z
    .locals 3

    .prologue
    const/4 v2, 0x0

    .line 167
    iget-object v0, p0, Lcom/teewoo/app/bus/util/VersionUtil;->vi:Lcom/teewoo/app/bus/util/VersionUtil$VersionInfo;

    if-eqz v0, :cond_1

    .line 168
    iget-object v0, p0, Lcom/teewoo/app/bus/util/VersionUtil;->vi:Lcom/teewoo/app/bus/util/VersionUtil$VersionInfo;

    iget-object v0, v0, Lcom/teewoo/app/bus/util/VersionUtil$VersionInfo;->action:Lcom/teewoo/app/bus/util/VersionUtil$UPDATE_ACTION;

    sget-object v1, Lcom/teewoo/app/bus/util/VersionUtil$UPDATE_ACTION;->FORCE:Lcom/teewoo/app/bus/util/VersionUtil$UPDATE_ACTION;

    if-ne v0, v1, :cond_0

    const/4 v0, 0x1

    .line 170
    :goto_0
    return v0

    :cond_0
    move v0, v2

    .line 168
    goto :goto_0

    :cond_1
    move v0, v2

    .line 170
    goto :goto_0
.end method

.method public isMajorUpgrade()Z
    .locals 3

    .prologue
    const/4 v2, 0x0

    .line 174
    iget-object v0, p0, Lcom/teewoo/app/bus/util/VersionUtil;->vi:Lcom/teewoo/app/bus/util/VersionUtil$VersionInfo;

    if-eqz v0, :cond_1

    .line 175
    iget-object v0, p0, Lcom/teewoo/app/bus/util/VersionUtil;->vi:Lcom/teewoo/app/bus/util/VersionUtil$VersionInfo;

    iget-object v0, v0, Lcom/teewoo/app/bus/util/VersionUtil$VersionInfo;->action:Lcom/teewoo/app/bus/util/VersionUtil$UPDATE_ACTION;

    sget-object v1, Lcom/teewoo/app/bus/util/VersionUtil$UPDATE_ACTION;->MAJOR:Lcom/teewoo/app/bus/util/VersionUtil$UPDATE_ACTION;

    if-ne v0, v1, :cond_0

    const/4 v0, 0x1

    .line 177
    :goto_0
    return v0

    :cond_0
    move v0, v2

    .line 175
    goto :goto_0

    :cond_1
    move v0, v2

    .line 177
    goto :goto_0
.end method

.method public isMinorUpgrade()Z
    .locals 3

    .prologue
    const/4 v2, 0x0

    .line 181
    iget-object v0, p0, Lcom/teewoo/app/bus/util/VersionUtil;->vi:Lcom/teewoo/app/bus/util/VersionUtil$VersionInfo;

    if-eqz v0, :cond_1

    .line 182
    iget-object v0, p0, Lcom/teewoo/app/bus/util/VersionUtil;->vi:Lcom/teewoo/app/bus/util/VersionUtil$VersionInfo;

    iget-object v0, v0, Lcom/teewoo/app/bus/util/VersionUtil$VersionInfo;->action:Lcom/teewoo/app/bus/util/VersionUtil$UPDATE_ACTION;

    sget-object v1, Lcom/teewoo/app/bus/util/VersionUtil$UPDATE_ACTION;->MINOR:Lcom/teewoo/app/bus/util/VersionUtil$UPDATE_ACTION;

    if-ne v0, v1, :cond_0

    const/4 v0, 0x1

    .line 184
    :goto_0
    return v0

    :cond_0
    move v0, v2

    .line 182
    goto :goto_0

    :cond_1
    move v0, v2

    .line 184
    goto :goto_0
.end method
